You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TVec Class > TVec Methods > Disown Method > TVec.Disown Method (out float[], out int, out int, out bool)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TVec.Disown Method (out float[], out int, out int, out bool)

Disowns a values pointer.

Syntax
C#
Visual Basic
public void Disown(out float[] aArray, out int aIndex, out int ALength, out bool aIsComplex);

Disowns a values pointer. The Disown method is the opposite of the Adopt method. It will set the AArrays to Pointer(Values), ALength to vector's TMtxVecBase.Length and IsComplex to TMtxVec.ComplexComplexproperty. Use the Disown method to "disconnect" AArray from the TVec.Values. Disown sets Values and CValues array pointers to nil and Length property to zero, but without freeing the allocated memory. The allocated memory can be disowned only, if it was adopted with a call to the Adopt method.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!